package LeetCode;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}21:07
 */
public class interview62II {
    public int sumNums(int n) {
        int sum = n;
        boolean b = (n > 0) && (sum += sumNums(n-1)) > 0;
        return sum;
    }
}
